From 56d7417fcc4f389e9a1e637e7c7dfcdcd31eaea2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Javier=20Jard=C3=B3n?= Date: Sun, 16 May 2010 01:58:06 +0200 Subject: [PATCH] Move documentation to inline comments: GtkRecentChooserWidget --- docs/reference/gtk/tmpl/.gitignore | 1 + .../gtk/tmpl/gtkrecentchooserwidget.sgml | 58 ------------------- gtk/gtkrecentchooserwidget.c | 19 ++++++ 3 files changed, 20 insertions(+), 58 deletions(-) delete mode 100644 docs/reference/gtk/tmpl/gtkrecentchooserwidget.sgml diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore index c4ff36f506..96c7f8c969 100644 --- a/docs/reference/gtk/tmpl/.gitignore +++ b/docs/reference/gtk/tmpl/.gitignore @@ -8,6 +8,7 @@ gtkorientable.sgml gtkpagesetupunixdialog.sgml gtkradioaction.sgml gtkrecentaction.sgml +gtkrecentchooserwidget.sgml gtkscalebutton.sgml gtkseparator.sgml gtkseparatormenuitem.sgml diff --git a/docs/reference/gtk/tmpl/gtkrecentchooserwidget.sgml b/docs/reference/gtk/tmpl/gtkrecentchooserwidget.sgml deleted file mode 100644 index 826a5aa584..0000000000 --- a/docs/reference/gtk/tmpl/gtkrecentchooserwidget.sgml +++ /dev/null @@ -1,58 +0,0 @@ - -GtkRecentChooserWidget - - -Displays recently used files - - - -#GtkRecentChooserWidget is a widget suitable for selecting recently used -files. It is the main building block of a #GtkRecentChooserDialog. Most -applications will only need to use the latter; you can use -#GtkRecentChooserWidget as part of a larger window if you have special needs. - - - -Note that #GtkRecentChooserWidget does not have any methods of its own. -Instead, you should use the functions that work on a #GtkRecentChooser. - - - -Recently used files are supported since GTK+ 2.10. - - - - -#GtkRecentChooser, #GtkRecentChooserDialog - - - - - - - - - - - - - - - - - - - -@void: -@Returns: - - - - - - - -@manager: -@Returns: - - diff --git a/gtk/gtkrecentchooserwidget.c b/gtk/gtkrecentchooserwidget.c index 211d852a73..44169a44ea 100644 --- a/gtk/gtkrecentchooserwidget.c +++ b/gtk/gtkrecentchooserwidget.c @@ -26,6 +26,25 @@ #include "gtktypebuiltins.h" #include "gtkalias.h" + +/** + * SECTION:gtkrecentchooserwidget + * @Short_description: Displays recently used files + * @Title: GtkRecentChooserWidget + * @See_also:#GtkRecentChooser, #GtkRecentChooserDialog + * + * #GtkRecentChooserWidget is a widget suitable for selecting recently used + * files. It is the main building block of a #GtkRecentChooserDialog. Most + * applications will only need to use the latter; you can use + * #GtkRecentChooserWidget as part of a larger window if you have special needs. + * + * Note that #GtkRecentChooserWidget does not have any methods of its own. + * Instead, you should use the functions that work on a #GtkRecentChooser. + * + * Recently used files are supported since GTK+ 2.10. + */ + + struct _GtkRecentChooserWidgetPrivate { GtkRecentManager *manager; -- 2.30.2